package com.zhoukx.prototype;

/**
 * @ClassName Client
 * @Description:
 * @Author zhoukx
 * @Date 2020/8/6
 **/
public class Client {

    public static void main(String[] args) {
        Sheep sheep = new Sheep("tom", 1, "白色");
        System.out.println(sheep);

        Sheep sheep1 = new Sheep(sheep.getName(), sheep.getAge(), sheep.getColor());
        System.out.println(sheep1);

        Sheep sheep2 = new Sheep(sheep.getName(), sheep.getAge(), sheep.getColor());
        System.out.println(sheep2);

        Sheep sheep3 = new Sheep(sheep.getName(), sheep.getAge(), sheep.getColor());
        System.out.println(sheep3);
        Sheep sheep4 = new Sheep(sheep.getName(), sheep.getAge(), sheep.getColor());
        System.out.println(sheep4);
        Sheep sheep5 = new Sheep(sheep.getName(), sheep.getAge(), sheep.getColor());
        System.out.println(sheep5);

    }
}
